<template>
	<el-dialog title="加点配置" :visible.sync="show" :close-on-click-modal="false" append-to-body>
		<org ref="org" :priceId="priceId" :orgId="orgId"></org>
	</el-dialog>
</template>

<script>
	import org from "./config/org.vue"
	export default {
		name: "itemConfig",
		components: {
			org
		},
		data() {
			return {
				show: false
			}
		},
		props: {
			priceId: {
				type: String,
				default: ""
			},
			orgId: {
				type: String,
				default: ""
			},
			type: {
				type: Number,
				default: 0
			}
		},
		methods: {
			init() {
				this.show = true
				this.$nextTick(() => {
					this.$refs["org"].init()
				})
			}
		}
	}
</script>

<style>
</style>